package cn.wolfcode.crm.query;

import cn.wolfcode.crm.domain.Grade;
import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

@Getter@Setter
public class PotentialStudentQueryObject extends QueryObject {
    private String name;//姓名
    private Integer minAge = 0;//最小年龄
    private Integer maxAge = 0;//最多年龄
    private Integer sex = 0;//性别
    private String eduBackground;//学历
    private String intentionDegree;//意向程度
    private String state;//状态
    //班级
    private Long  gradeId = -1L;
    private String campus;//意向校区

    private String subject;//意向学科

    //当前登录用户的id
    private Long empId = -1L;

    public String getName() {
        return empty2Null(name);
    }

    public String getEduBackground() {
        return empty2Null(eduBackground);
    }

    public String getIntentionDegree() {
        return empty2Null(intentionDegree);
    }

    public String getState() {
        return empty2Null(state);
    }

    public String getCampus() {
        return empty2Null(campus);
    }

    public String getSubject() {
        return empty2Null(subject);
    }
}
